package com.yuan.model_convenient.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.base.BaseEntity;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Entity
@Table(name = "convenient_report")
public class ConvenientReporting extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @NotNull(groups = BaseEntity.Update.class)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "reportId", hidden = true)
    private Integer reportId;

    @ApiModelProperty(value = "报备-申请理由")
    private String reportReason;

    @ApiModelProperty(value = "报备-申请开始时间")
    private String reportStartTime;

    @ApiModelProperty(value = "报备-申请结束时间")
    private String reportEndTime;

    @ApiModelProperty(value = "报备-申请时间")
    private String reportTime;

    @ApiModelProperty(value = "报备-处理状态")
    private String reportStatus;

    @ApiModelProperty(value = "报备-物业Id")
    private String processedBy;

    @ApiModelProperty(value = "报备-物业名称")
    private String processedByName;

    @ApiModelProperty(value = "报备-申请人名称")
    private String applicantName;

    @ApiModelProperty(value = "报备-申请人性别")
    private String applicantSex;

    @ApiModelProperty(value = "报备-申请人年龄")
    private String applicantAge;

    @ApiModelProperty(value = "报备-申请人手机号")
    private String applicantPhone;

    @ApiModelProperty(value = "报备-申请人身份证号")
    private String applicantIdCard;
}
